add_executable(test_protocol
    test_json_rpc_handler_impl.cpp
    test_json_rpc_message_parser.cpp
    test_json_rpc_message_serializer.cpp

)

target_link_libraries(test_protocol
    PRIVATE
    protocol
    message_serialization
    gtest
    gtest_main
    gmock
    Qt5::Core
)

set_target_properties(test_protocol PROPERTIES
    CXX_STANDARD 11
    CXX_STANDARD_REQUIRED ON
)

add_test(NAME test_protocol COMMAND test_protocol)
